import { Module } from '@nestjs/common';
import { SequelizeModule } from '@nestjs/sequelize';
import { TenantService } from './tenant.service';
import { TenantController, SysTenantConfigController } from './tenant.controller';

import { Tenant } from './tenant.model'
import { ThemeConfig } from './themeConfig.model'
import { SysConfig } from './sysConfig.model'

@Module({
  imports: [SequelizeModule.forFeature([Tenant, ThemeConfig, SysConfig])],
  controllers: [TenantController, SysTenantConfigController],
  providers: [TenantService],
})
export class TenantModule { }
